home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / clang / cweb31.zip / README < prev   
Text File  |  1993-06-12  |  3KB  |  87 lines

  1. % This file is part of CWEB.
  2. % The CWEB programs by Silvio Levy are based on programs by D. E. Knuth.
  3. % They are distributed WITHOUT ANY WARRANTY, express or implied.
  4. % This README file last updated June 1993 by Don Knuth
  5.  
  6. % Copyright (C) 1987,1990,1993 Silvio Levy and Donald E. Knuth
  7.  
  8. % Permission is granted to make and distribute verbatim copies of this
  9. % document provided that the copyright notice and this permission notice
  10. % are preserved on all copies.
  11.  
  12. % Permission is granted to copy and distribute modified versions of this
  13. % document under the conditions for verbatim copying, provided that the
  14. % entire resulting derived work is distributed under the terms of a
  15. % permission notice identical to this one.
  16.  
  17. % Please send comments, suggestions, etc. to levy@geom.umn.edu.
  18.  
  19. This directory contains the following files:
  20.  
  21. Makefile
  22. README
  23. comm-amiga.ch
  24. comm-man.ch
  25. comm-pc.ch
  26. comm-vms.ch
  27. common.c
  28. common.h
  29. common.w
  30. ctang-man.ch
  31. ctang-pc.ch
  32. ctang-vms.ch
  33. ctangle.c
  34. ctangle.w
  35. cweav-man.ch
  36. cweav-pc.ch
  37. cweav-vms.ch
  38. cweave.w
  39. cweb.1
  40. cweb.el
  41. cwebmac.tex
  42. cwebman.tex
  43. examples/
  44. prod.w
  45.  
  46. (If you got cweb by mail, you may have cweave.w.1 and cweave.w.2
  47. instead of cweave.w.  The first thing to say then is
  48.  
  49. cat cweave.w.[12] > cweave.w
  50.  
  51. )
  52.  
  53. The file cwebman.tex is the user manual.
  54. The examples directory contains additional examples of the use of CWEB.
  55. The files common.c and ctangle.c are used for bootstrapping.
  56. The file cweb.1 is a manual page.
  57. The file cweb.el is suggested for GNU-Emacs users.
  58. The files *-man.ch are used if you want to make the full 227-page CWEB manual.
  59. The other files named *.ch are sample change files for local customization.
  60.  
  61. IMPORTANT: Please touch *.c before proceeding.
  62. Then edit the opening lines of Makefile so that it has the proper
  63. directory information for your local system.
  64.  
  65. To make ctangle and cweave say `make all'; this should produce roughly
  66. the following actions (possibly with harmless warning messages from cc):
  67.  
  68. cc -g -w -c ctangle.c
  69. cc -g -w -DCWEBINPUTS=\"/usr/local/lib/cweb\" -c common.c
  70. cc -g -o ctangle ctangle.o common.o 
  71. ./ctangle cweave
  72. cc -g -w -c cweave.c
  73. cc -g -w -o cweave cweave.o common.o
  74.  
  75. To get some reassurance that things are OK, you can say `make cautiously',
  76. which ensures that CTANGLE will reproduce itself. (Otherwise the source
  77. files common.w and ctangle.w won't actually have been used.)
  78.  
  79. To install cweave and ctangle say `make install'. You probably need to
  80. be superuser to do this; but it's wise to `make all' first, BEFORE
  81. becoming superuser and saying `make install'.
  82.  
  83. Note that change files for VMS, AMIGA, and PCs are provided.  When you are
  84. first bootstrapping to a new system, you may need to edit common.c and
  85. ctangle.c by hand, but the vast majority of the change-file changes are
  86. minor refinements that are not necessary for a rudimentary ctangle.
  87.